#include "include/test.h"
#include <opencv2/opencv.hpp>

using namespace cv;
TestDemo::TestDemo()
{
    cout << "TestDemo()" << endl;
}

TestDemo::~TestDemo()
{
    cout << "~TestDemo()" << endl;
}

void TestDemo::print()
{
    cout << "TestDemo::print()" << endl;
    cv::Mat img = cv::imread("../res/wukong.jpg");

    namedWindow("test", WINDOW_AUTOSIZE);
    cv::imshow("test", img);
    cv::waitKey(0);
    cv::destroyAllWindows();
}